home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
demo
/
igps_102.zip
/
PHONEDOC.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-23
|
2KB
|
88 lines
// phonedoc.cpp : implementation of the CPhoneDoc class
//
// no change from MFC generated skeleton
//
#include "stdafx.h"
#include "mphone.h"
#include "phonedoc.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPhoneDoc
IMPLEMENT_DYNCREATE(CPhoneDoc, CDocument)
BEGIN_MESSAGE_MAP(CPhoneDoc, CDocument)
//{{AFX_MSG_MAP(CPhoneDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
BEGIN_DISPATCH_MAP(CPhoneDoc, CDocument)
//{{AFX_DISPATCH_MAP(CPhoneDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_DISPATCH_MAP
END_DISPATCH_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPhoneDoc construction/destruction
CPhoneDoc::CPhoneDoc()
{
}
CPhoneDoc::~CPhoneDoc()
{
}
BOOL CPhoneDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CPhoneDoc serialization
void CPhoneDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CPhoneDoc diagnostics
#ifdef _DEBUG
void CPhoneDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CPhoneDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CPhoneDoc commands